package com.fasteat.mall.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author 白sa能
 * @className
 * @date Created in 11:02 PM 2/18/21
 * @package com.fasteat.mall.entity.vo
 * @Description
 */
public class NewOrderformVo {
    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "商品id")
    private String productId;

    @ApiModelProperty(value = "购买数量")
    private Integer purchaseAmount;

    @ApiModelProperty(value = "收货地址id")
    private String addressId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getPurchaseAmount() {
        return purchaseAmount;
    }

    public void setPurchaseAmount(Integer purchaseAmount) {
        this.purchaseAmount = purchaseAmount;
    }

    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public NewOrderformVo(String userId, String productId, Integer purchaseAmount, String addressId) {
        this.userId = userId;
        this.productId = productId;
        this.purchaseAmount = purchaseAmount;
        this.addressId = addressId;
    }

    public NewOrderformVo() {
    }
}
